package com.lbmb.photodrawaimanager.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lbmb.photodrawaimanager.entity.dto.TitleEntity;
import com.lbmb.photodrawaimanager.entity.req.TitleReq;
import com.lbmb.photodrawaimanager.entity.resp.TitleResp;

import java.util.List;

/**
 * @author hanWang
 * @Title:
 * @Package
 * @Description:
 * @date 2023/8/27:01 下午
 */
public interface TitleService extends IService<TitleEntity> {

    /**
     * tiitle 列表
     * @param req
     * @return
     */
    List<TitleResp> queryAllTitle(TitleReq req);


    /**
     * tiitle 新增
     * @param req
     * @return
     */
    Boolean saveTitle(TitleReq req);


    /**
     * tiitle 修改状态
     * @param id
     * @return
     */
    Boolean upStatus(Long id);
}
